package cn.tedu.charging.order.mqtt;

import cn.tedu.charging.order.dao.mapper.ChargingFailMapper;
import cn.tedu.charging.order.dao.mapper.ChargingSuccessMapper;
import cn.tedu.charging.order.feign.CostClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class MqttContext {
    @Autowired
    private ChargingSuccessMapper chargingSuccessMapper;
    @Autowired
    private ChargingFailMapper chargingFailMapper;
    @Autowired
    private CostClient costClient;

    public ChargingSuccessMapper getChargingSuccessMapper() {
        return chargingSuccessMapper;
    }

    public ChargingFailMapper getChargingFailMapper() {
        return chargingFailMapper;
    }

    public CostClient getCostClient(){
        return costClient;
    }
}
